/// YApi QuickType插件生成，具体参考文档:https://plugins.jetbrains.com/plugin/18847-yapi-quicktype/documentation

import 'dart:convert';

EpsCategory epsCategoryFromJson(String str) => EpsCategory.fromJson(json.decode(str));

String epsCategoryToJson(EpsCategory data) => json.encode(data.toJson());

class EpsCategory {
    EpsCategory({
        required this.parent,
        required this.name,
        required this.alias,
        required this.id,
        required this.type,
    });

    String parent;
    String name;
    String alias;
    String id;
    String type;

    factory EpsCategory.fromJson(Map<dynamic, dynamic> json) => EpsCategory(
        parent: json["parent"],
        name: json["name"],
        alias: json["alias"],
        id: json["id"],
        type: json["type"],
    );

    Map<dynamic, dynamic> toJson() => {
        "parent": parent,
        "name": name,
        "alias": alias,
        "id": id,
        "type": type,
    };
}
